import layout from '@/layout'

export default {
    path: '/sys',
    component: layout,
    redirect: '/sys/manage',
    name: '系统管理',
    meta: {
        title: '系统管理',
        icon: 'el-icon-connection'
    },
    children: [
        {
            path: '/sys/manage',
            component: () => import('@/views/user-manage'),
            meta: {
                title: '用户管理',
                icon: 'el-icon-user'
            }
        },
        {
            path: '/sys/notice',
            component: () => import('@/views/notice'),
            meta: {
                title: '通知公告',
                icon: 'el-icon-chatSquare'
            }
        },
        {
            path: '/sys/setting',
            component: () => import('@/views/setting'),
            meta: {
                title: '设置',
                icon: 'el-icon-setting'
            }
        }
    ]
}